package edu.itcs6112.za.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import edu.itcs6112.za.domain.Customer;

public interface CustomerService {

	public List<Customer> findAll();
	
	public Customer findById(Long id);
	
	public Customer save(Customer customer);
	
	public Page<Customer> findAllByPage(Pageable pageable);	
	
	public Customer findByUsername(String username);
	
}
